//out: ../css/

.main {
    width: 100%;

    .salary {
        width: 1200px;
        padding-top: 150px;

        #chart {
            width: 1110px;
            height: 338px;
            margin-top: 60px;
        }
    }

    .history {
        width: 1200px;
        padding-top: 150px;

        .time-axis {
            width: 860px;
            margin-top: 40px;

            .year-list {
                width: 590px;
                display: flex;
                justify-content: space-between;

                .item-year {
                    display: flex;
                    justify-content: center;
                    align-items: end;
                    width: 150px;
                    height: 66px;
                    vertical-align: bottom;
                    font-size: 32px;
                    font-weight: 500;
                    letter-spacing: 0px;
                    color: rgba(51, 51, 51, 1);

                    &.active {
                        font-size: 56px;
                        color: rgba(24, 66, 182, 1);
                    }
                }
            }

            .axis {
                display: flex;
                justify-content: space-between;
                align-items: center;
                width: 100%;
                height: 10px;
                margin-top: 20px;

                hr {
                    width: 200px;
                    border: 1px solid rgba(228, 231, 235, 1);
                }

                span {
                    display: inline-block;
                    width: 10px;
                    height: 10px;
                    border-radius: 50%;
                    background: rgba(228, 231, 235, 1);

                    &.active {
                        background: rgba(24, 66, 182, 1);
                    }
                }
            }
        }

        .employment-list {
            width: 1200px;
            height: 614px;

            .item-employment {
                display: none;
                width: 1200px;
                height: 614px;
                margin-top: 60px;
                border-radius: 20px;
                background: rgba(255, 255, 255, 1);
                box-shadow: 0px 2px 4px rgba(223, 234, 242, 0.39), 0px 10px 20px 10px rgba(223, 234, 242, 0.2);

                .job-header {
                    display: flex;
                    align-items: center;
                    padding-left: 10px;
                    padding-right: 10px;
                    width: 100%;
                    height: 53px;
                    border-bottom: 1px solid rgba(228, 231, 235, 1);

                    span {
                        display: inline-block;
                        flex: 1;
                        text-align: center;
                        font-size: 16px;
                        font-weight: 400;
                        letter-spacing: 0px;
                        line-height: 18.75px;
                        color: rgba(51, 51, 51, 1);



                        &:nth-child(3) {
                            flex: 3;
                        }

                        &:nth-child(4) {
                            flex: 4;
                        }

                        &:nth-child(5) {
                            flex: 2;
                        }
                    }
                }

                .job-main {
                    width: 100%;
                    height: 561px;
                    padding-left: 10px;
                    padding-right: 10px;
                    overflow: hidden;

                    .job-list {
                        width: 100%;
                        height: 1173px;
                        animation: anim 12s linear infinite;

                        .item-job {
                            display: flex;
                            align-items: center;
                            width: 100%;
                            height: 51px;

                            span {
                                display: inline-block;
                                flex: 1;
                                text-align: center;
                                font-size: 16px;
                                font-weight: 400;
                                letter-spacing: 0px;
                                line-height: 18.75px;
                                color: rgba(51, 51, 51, 1);



                                &:nth-child(3) {
                                    flex: 3;
                                }

                                &:nth-child(4) {
                                    flex: 4;
                                }

                                &:nth-child(5) {
                                    flex: 2;
                                }
                            }

                            &:nth-child(2n+1) {
                                background: rgba(255, 255, 255, 1);
                            }

                            &:nth-child(2n) {
                                background: rgba(247, 249, 250, 1);
                            }
                        }

                        &:hover {
                            animation-play-state: paused;
                        }
                    }
                }

                &.active {
                    display: block;
                }
            }
        }
    }
}

@keyframes anim {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-612px);
    }
}